package com.frank.dao;

import com.frank.model.InterviewRecord;
import com.frank.model.InterviewRecordCriteria;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface InterviewRecordMapper {
    long countByExample(InterviewRecordCriteria example);

    int deleteByExample(InterviewRecordCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(InterviewRecord record);

    int insertSelective(InterviewRecord record);

    List<InterviewRecord> selectByExampleWithRowbounds(InterviewRecordCriteria example, RowBounds rowBounds);

    List<InterviewRecord> selectByExample(InterviewRecordCriteria example);

    InterviewRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") InterviewRecord record, @Param("example") InterviewRecordCriteria example);

    int updateByExample(@Param("record") InterviewRecord record, @Param("example") InterviewRecordCriteria example);

    int updateByPrimaryKeySelective(InterviewRecord record);

    int updateByPrimaryKey(InterviewRecord record);

    List<Map> selectUsersByInterviewId(Integer interviewId);
}